package com.ziru.ziru.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 缘友一世
 * date 2023/5/28-8:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("房间信息实体类")
public class Rooms {
    @TableId
    @ApiModelProperty("房屋ID")
    private Integer roomId;
    @ApiModelProperty("房屋名称")
    private String roomName;
    @ApiModelProperty("房屋面积")
    private String roomArea;
    @ApiModelProperty("房间编号")
    private String roomNumber;
    @ApiModelProperty("房间数量")
    private String roomNumbers;
    @ApiModelProperty("户型名称")
    private String houseType;
    @ApiModelProperty("楼层")
    private String floor;
    @ApiModelProperty("位置")
    private String roomLocation;
    @ApiModelProperty("电梯有无")
    private String elevator;
    @ApiModelProperty("建成日期")
    private String completion;
    @ApiModelProperty("供暖方式")
    private String heatingType;
    @ApiModelProperty("绿化面积")
    private String afforest;
    @ApiModelProperty("所在区域")
    private String areaLocation;
    @ApiModelProperty("地铁线")
    private String subway;
    @ApiModelProperty("租房类型名称")
    private String tenementName;
    @ApiModelProperty("房间价格")
    private Integer roomPrice;
    @ApiModelProperty("特色户型名称")
    private String characterName;
    @ApiModelProperty("房间朝向")
    private String orientationName;
    @ApiModelProperty("房源状态名称")
    private String statusName;
    @ApiModelProperty("优惠活动")
    private String specialOffer;
    @ApiModelProperty("房间租赁时长")
    private Integer roomTime;
    @ApiModelProperty("房间视频地址")
    private String videoUrl;
    @ApiModelProperty("展示图片")
    private String roomPic;
    @ApiModelProperty("中介id")
    private Integer uid;

    @TableField(exist = false)
    private List<RoomTitle> roomTitles;
    @TableField(exist = false)
    private List<RoomPicture> roomPictures;
}
